//
// Created by jsjxsy on 2022/8/11.
//
#include <Staff.h>
#include <Coder.h>
#include <iostream>
using namespace std;
int main(void) {
//  Staff *staff1 = new Staff();
//  staff1->work();
//  staff1->work2();
//  delete staff1;


  cout<<"------------"<<endl;
  Staff *staff = new Coder();
  staff->work();
  staff->work2();
  staff->work3();
  delete staff;

  cout<<"------------"<<endl;
  Coder *coder = new Coder();
  coder->work();
  coder->work2();
  coder->work3();
  delete coder;

  return 0;
}
